package com.example.spring.aware;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @Author: zhangrongqing
 * @Date: 2020/8/19 18:09
 */
@Component
public class TestBean implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("TestBean after");
    }
}
